package com.bit.cfdi.web.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.bit.cfdi.web.domain.Persona;

public interface PersonaDAO {

	public void save(final Persona persona) throws DataAccessException;

	public Persona getById(final Long id) throws DataAccessException;

	public List<Persona> getAll() throws DataAccessException;
	
	public Persona getByRFCAndName(final String rfc, final String name) throws DataAccessException;
	
}
